#include "ArticleComment_types.h"

#include "redis_executor/redis_executor.h"
#include "redis_executor/scoped_reply.h"

namespace jztzp {

class ArticleRedisAdapter {
 public:
  int SetContent(int32_t article_id, const std::string & content);
  int RemoveContent(int32_t article_id);
  int GetContent(int32_t article_id, std::string * content);
 private:
  RedisExecutor redis_exec;
};

}

